]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
userWidget: Rename the default style class of the user widget
authorJasper St. Pierre <jstpierre@mecheye.net>
Tue, 11 Jun 2013 19:00:35 +0000 (15:00 -0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 19 Jul 2013 09:34:09 +0000 (05:34 -0400)
As the status chooser is going away, it doesn't make sense to
keep the "status-chooser" name around.

https://bugzilla.gnome.org/show_bug.cgi?id=704368

data/theme/gnome-shell.css
js/ui/userWidget.js

index 504792e9194281df95fe193a4edf49c0c3771c43..3c5aa49e07b56222de2c6d2e5f17f1ae422221c6 100644 (file)
@@ -620,18 +620,6 @@ StScrollBar StButton#vhandle:active {
     padding: .4em;
 }
 
-.status-chooser-user-icon {
-    border: 2px solid #8b8b8b;
-    border-radius: 5px;
-    width: 48pt;
-    height: 48pt;
-    background-size: contain;
-}
-
-.status-chooser-user-icon:hover {
-    border: 2px solid #bbbbbb;
-}
-
 .status-chooser-user-name {
     font-weight: bold;
     font-size: 1.3em;
@@ -2207,6 +2195,18 @@ StScrollBar StButton#vhandle:active {
 
 /* Login Dialog */
 
+.framed-user-icon {
+    border: 2px solid #8b8b8b;
+    border-radius: 5px;
+    width: 48pt;
+    height: 48pt;
+    background-size: contain;
+}
+
+.framed-user-icon:hover {
+    border: 2px solid #bbbbbb;
+}
+
 .login-dialog-banner {
     font-size: 10pt;
     font-weight: bold;
index 276b86b030868cccfb223d40eb4b18944adc8641..47c28aad019729a5e9725552d61b886aea254cff 100644 (file)
@@ -24,7 +24,7 @@ const Avatar = new Lang.Class({
         this._user = user;
         params = Params.parse(params, { reactive: false,
                                         iconSize: AVATAR_ICON_SIZE,
-                                        styleClass: 'status-chooser-user-icon' });
+                                        styleClass: 'framed-user-icon' });
         this._iconSize = params.iconSize;
 
         this.actor = new St.Bin({ style_class: params.styleClass,